package com.ethink.mdm.api.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author: lzy
 * @Date: Created in 2022/12/8 14:34
 * ModifiedBy:
 * Version:
 */
@Data
public class LegalCurrencyExchangeRateListByPubDatesResponse {
    @Schema(description = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pubDate;

    @Schema(description = "源币种编码")
    private String orgCurrencyCode;

    @Schema(description = "源币种名称")
    private String orgCurrencyName;

    @Schema(description = "目标币种编码")
    private String aimCurrencyCode;

    @Schema(description = "目标币种名称")
    private String aimCurrencyName;

    @Schema(description = "汇率")
    private BigDecimal rate;
}
